package com.lvchenglong;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@ComponentScan(value = "com.lvchenglong", useDefaultFilters = true)
public class AppConfig {

    @Bean(name="myname")
    public String myname() {
        return "chester";
    }
}
